#!/bin/bash

for service in $(ps -eZ | grep unconfined_service_t | awk '{print $5}' | xargs -n1 basename | sort -u); do
    systemctl stop "$service".service 2>/dev/null
    systemctl disable "$service".service 2>/dev/null
done
